DrawPolygon(Quadrilateral,Color,Single,Single[]) Method
In This Topic
Draws a polygon specified by an array of points, using a specified line color, width and dash pattern.
If the dashPattern array contains two or more items, the polygon is drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.
Syntax
'Declaration
Public Overloads Sub DrawPolygon( _
ByVal As Quadrilateral, _
ByVal As System.Drawing.Color, _
ByVal As System.Single, _
ByVal () As System.Single _
)
public void DrawPolygon(
Quadrilateral ,
System.Drawing.Color ,
System.float ,
System.float[]
)
Parameters
- quadrilateral
- A quadrilateral specifying the polygon.
- lineColor
- The line color.
- lineWidth
- The line width.
- dashPattern
- The dash pattern.
See Also